const express = require('express');
const app = express();
const router = express.Router();

router.get('/index',(req,res)=>{
    res.sendFile(__dirname+'/index.html');
});
router.get('/image', (req, res) => {
    res.sendFile(__dirname+'/timg.jpg');
});
router.get('/css',(req,res)=>{
    res.sendFile(__dirname+'/index1.css');
});
app.use(router);
app.listen(8080);